ComponentOne Xamarin Edition
SortAsync<T>(ICollectionView<T>,String,SortDirection) Method
C1.CollectionView Assembly > C1.CollectionView Namespace > ICollectionViewEx Class > SortAsync Method : SortAsync<T>(ICollectionView<T>,String,SortDirection) Method
The collection view.
The path of the data item to which the sort description will be applied.
The direction of the sort operation.
Sorts the collection view according to the specified sort parameters.
Syntax
[AsyncStateMachine(C1.CollectionView.ICollectionViewEx+d__9`1[T])] 
[Extension()] 
public static Task SortAsync<T>( 
   ICollectionView<T> collectionView, 
   string sortPath, 
   SortDirection sortDirection 
) 
where T: class

Parameters

collectionView
The collection view.
sortPath
The path of the data item to which the sort description will be applied.
sortDirection
The direction of the sort operation.

Type Parameters

T
See Also

Reference

ICollectionViewEx Class
ICollectionViewEx Members
Overload List